<?php
class MiniGrupo{

  private $nombre;
  private $email;

  public function getNombre(){
    return $this->nombre;
  }

  public function getEmail(){
    return $this->email;
  }

  public function setNombre($val){
    $this->nombre = $val;
  }

  public function setEmail($val){
    $this->email = $val;
  }

  public function setall($assoc){
    $this->name = $assoc["name"];
    $this->email = $assoc["email"];
  }
}

?>
